<?php
include_once 'BController.php';

class api extends BController{ 
 
	var $Wechat = null;
	function __construct(){
		parent::__construct();
	
		//微信信息配置  我的测试号码
		$options = array(
			'appid'=>'wx45c1dc5c240c368f',
			'token'=>'nicky123', 
			'encodingaeskey'=>'',
			'appsecret'=>'9733e5f1f579f4f7783f069fcd24f780',
			'debug'=>false,
			'logcallback'=>'',
		);
		
		$this->Wechat = spClass('Wechat'); 
		$this->Wechat = new Wechat($options);
	}
	
}
?>